*{
    box-sizing: border-box;
}
div[name='puzzleImg-list']{
    float: left;
    /*width:140px;*/
    border:1px solid #ccc;
    border-width:0px 1px;
}
div[name='puzzleImg-list'] .up,div[name='puzzleImg-list'] .down{
    height:20px;
    line-height: 20px;
    background:#000;
    text-align: center;
    color:#fff;
    z-index:10;
    position: relative;
}
div[name='puzzleImg-list'] .up.disabled,div[name='puzzleImg-list'] .down.disabled{
    background:#eee;
}
div[name='puzzleImg-list'] .up{
    position: absolute;
    top:0;
    /*width:140px;*/
}
div[name='puzzleImg-list'] .down{
    position: absolute;
    bottom:0;
    /*width:140px;*/
}
div[name='puzzleImg-list'] .puzzleImg-list-detail{
    padding:0px 5px;
    position: relative;
    top:0;
}
div[name='puzzleImg-list'] .puzzleImg-list-detail li{
    padding:5px 0 0;
    height:200px;
    list-style: none;
}
div[name='puzzleImg-list'] .puzzleImg-list-detail img{
    display: block;
    width:100%;
}

div[name=puzzleImg-tpl]{
    float: left;
    width:250px;
    height:600px;
    border:1px solid #ccc;
    border-width: 0 1px;
}
div[name=puzzleImg-tpl] ul{
    padding:0;
    margin:0;
}
div[name=puzzleImg-tpl] ul:after{
    content:'';
    display: block;
    clear:both;
    overflow: hidden;
}
div[name=puzzleImg-tpl] li{
    margin:10px 10px 0 0;
    float: left;
    width:60px;
    height:60px;
    border:1px solid #fff;
    display: block;
    cursor: pointer;
}
div[name=puzzleImg-tpl] li:hover,div[name=puzzleImg-tpl] li.active{
    border-color: #fd9711;
}
div[name=puzzleImg-tpl] li img{
    display: block;
}
div[name=puzzleImg-canvas]{
    background:#eee;
    float:left;
    width:786px;
    height:700px;
}
div[name=puzzleImg-working]{
    overflow: hidden;
}
div[name=puzzleImg-working]:after{
    content:'';
    display: block;
    clear:both;
    overflow: hidden;
}
div[name=puzzleImg-canvas] .working-col{
    border-right:1px dashed #000;
    float: left;
    overflow: hidden;
}
div[name=puzzleImg-canvas] .working-col:last-child{
    border:none;
}
